package com.hdj.chapter6.demo2;

/**
 * @description 对象的适配器 装饰模式
 * @auther hdj
 * @date 2017/12/13.
 */
public class AdapterTest {

    public static void main(String[] args) {
        Source source = new Source();
        Targetable targe = new Wrapper(source);

        targe.method1();
        targe.method2();
    }
}
